
// Vue 路由配置
import  Vue from 'vue'
import  VueRouter from 'vue-router';

Vue.use(VueRouter);

// 定义基础路由
const routes = [
    { path: '/', component: require("view/home.vue") },
    { path: '/detail', component: require("view/detail.vue") },
    { path: '/namespace', component: require("view/namespace.vue") },
]

// 定义路由
const router = new VueRouter({
	routes
})

export default router